package com.demo.deadLock;

public class DeadLock {
	public static void main(String[] args) {
		Account a = new Account();
		Account b = new Account();
		a.transfer(b, 100);
		b.transfer(a, 200);
	}
}
